/*
** my_strncmp.c for libmy.a in /home/vanet_c//proj-kw/asm
** 
** Made by charles-edouard vanet
** Login   <vanet_c@epitech.net>
** 
** Started on  Tue Dec 11 17:59:21 2012 charles-edouard vanet
** Last update Tue Dec 11 18:05:02 2012 charles-edouard vanet
*/

int	my_strncmp(char *s1, char *s2, int n)
{
  int	i;

  i = 0;
  while (i < n)
    {
      if (s1[i] != s2[i])
        return (s1[i] - s2[i]);
      i = i + 1;
    }
  return (0);
}
